import { defAxios } from '@/utils/http';

export const login =(p: any): any=> {
    return defAxios({url: "/login/doLogin", method: 'POST', data: p});
}

export const loginOut =(): any=> {
  return defAxios({url: "/login/logout", method: 'GET'});
}

export const getCaptcha =(p: number): any=> {
  return defAxios({ url: "/login/captcha", method: 'GET', params: {uuid: p}});
}
